	
****** Table H.4
	
use "$datadir\ewallet\maindata.dta", clear	

	xtset district_id time_id 	
	reghdfe  logamount postXtreatment l1.logamount if $filters, a($fe $controls#i.time_id) cluster(district_id)
	outreg2 using "$outputdir_tab\Table_H_4", tex(frag) ctitle("log(amount)") dec(3) bracket label addtext(District f.e. , $\checkmark$ , Month f.e. , $\checkmark$ , District Controls $\times$ Month f.e., $\checkmark$ ) nocons nonotes stats(coef se)  replace
	reghdfe  lognumfirms postXtreatment l1.lognumfirms if $filters, a($fe $controls#i.time_id) cluster(district_id)
	outreg2 using "$outputdir_tab\Table_H_4", ctitle("log(users)") dec(3) bracket label addtext(District f.e. , $\checkmark$ , Month f.e. , $\checkmark$ , District Controls $\times$ Month f.e., $\checkmark$ ) nocons nonotes stats(coef se)  append
	reghdfe  lognewfirms postXtreatment l1.lognewfirms if $filters, a($fe $controls#i.time_id) cluster(district_id)
	outreg2 using "$outputdir_tab\Table_H_4", ctitle("log(switchers)") dec(3) bracket label addtext(District f.e. , $\checkmark$ , Month f.e. , $\checkmark$ , District Controls $\times$ Month f.e., $\checkmark$ ) nocons nonotes stats(coef se)  append
	
	reghdfe  logamount postXtreatment l2.logamount if $filters, a($fe $controls#i.time_id) cluster(district_id)
	outreg2 using "$outputdir_tab\Table_H_4", tex(frag) ctitle("log(amount)") dec(3) bracket label addtext(District f.e. , $\checkmark$ , Month f.e. , $\checkmark$ , District Controls $\times$ Month f.e., $\checkmark$ ) nocons nonotes stats(coef se)  append
	reghdfe  lognumfirms postXtreatment l2.lognumfirms if $filters, a($fe $controls#i.time_id) cluster(district_id)
	outreg2 using "$outputdir_tab\Table_H_4", tex(frag) ctitle("log(users)") dec(3) bracket label addtext(District f.e. , $\checkmark$ , Month f.e. , $\checkmark$ , District Controls $\times$ Month f.e., $\checkmark$ ) nocons nonotes stats(coef se)  append
	reghdfe  lognewfirms postXtreatment l2.lognewfirms if $filters, a($fe $controls#i.time_id) cluster(district_id)
	outreg2 using "$outputdir_tab\Table_H_4", tex(frag) ctitle("log(switchers)") dec(3) bracket label addtext(District f.e. , $\checkmark$ , Month f.e. , $\checkmark$ , District Controls $\times$ Month f.e., $\checkmark$ ) nocons nonotes stats(coef se)  append
	
	